.class public Lcom/waiqin365/base/login/CusloginPersonInfoActy;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field private a:Landroid/widget/ImageView;

.field private b:Landroid/widget/RelativeLayout;

.field private c:Landroid/widget/TextView;

.field private d:Landroid/widget/TextView;

.field private e:Landroid/widget/TextView;

.field private f:Landroid/widget/TextView;

.field private g:Landroid/widget/TextView;

.field private h:Landroid/widget/TextView;

.field private i:Landroid/widget/TextView;

.field private j:Landroid/widget/TextView;

.field private k:Landroid/widget/TextView;

.field private l:Z

.field private m:Z

.field private n:Lcom/waiqin365/base/login/mainview/TitleBar;

.field private o:Ljava/lang/String;

.field private p:Ljava/lang/String;

.field private q:Lcom/waiqin365/lightapp/view/ag;

.field private r:Landroid/os/Handler;


# direct methods
.method public constructor <init>()V
    .locals 4

    const/4 v3, 0x0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    iput-boolean v3, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->l:Z

    iput-boolean v3, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->m:Z

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->o:Ljava/lang/String;

    const-string/jumbo v0, "%s%s"

    const/4 v1, 0x2

    new-array v1, v1, [Ljava/lang/Object;

    sget-object v2, Lcom/fiberhome/gaea/client/b/a/a;->g:Ljava/lang/String;

    aput-object v2, v1, v3

    const/4 v2, 0x1

    const-string/jumbo v3, "cuslogin_mydata_icon"

    aput-object v3, v1, v2

    invoke-static {v0, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->p:Ljava/lang/String;

    new-instance v0, Lcom/waiqin365/base/login/f;

    invoke-direct {v0, p0}, Lcom/waiqin365/base/login/f;-><init>(Lcom/waiqin365/base/login/CusloginPersonInfoActy;)V

    iput-object v0, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->r:Landroid/os/Handler;

    return-void
.end method

.method private a(Landroid/view/View;Ljava/lang/String;)V
    .locals 2

    if-nez p2, :cond_0

    const-string/jumbo v0, "cuslogin_mydata_data_pic"

    const-string/jumbo v1, ""

    invoke-static {p0, v0, v1}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p2

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->mContext:Landroid/content/Context;

    iget-object v1, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->a:Landroid/widget/ImageView;

    invoke-static {v0, v1, p2}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;Landroid/widget/ImageView;Ljava/lang/String;)V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/base/login/CusloginPersonInfoActy;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->f()V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/base/login/CusloginPersonInfoActy;Landroid/view/View;Ljava/lang/String;)V
    .locals 0

    invoke-direct {p0, p1, p2}, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->a(Landroid/view/View;Ljava/lang/String;)V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/base/login/CusloginPersonInfoActy;Z)Z
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->m:Z

    return p1
.end method

.method static synthetic b(Lcom/waiqin365/base/login/CusloginPersonInfoActy;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->l:Z

    return v0
.end method

.method static synthetic b(Lcom/waiqin365/base/login/CusloginPersonInfoActy;Z)Z
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->l:Z

    return p1
.end method

.method static synthetic c(Lcom/waiqin365/base/login/CusloginPersonInfoActy;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->o:Ljava/lang/String;

    return-object v0
.end method

.method private c()V
    .locals 6

    const/4 v3, -0x1

    const v0, 0x7f0301c8

    const/4 v1, 0x0

    invoke-static {p0, v0, v1}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v2

    const v0, 0x7f0c09a6

    invoke-virtual {v2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c09a7

    invoke-virtual {v2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0350

    invoke-virtual {v2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    new-instance v0, Lcom/waiqin365/lightapp/view/ag;

    sget-object v5, Lcom/waiqin365/lightapp/view/ak;->d:Lcom/waiqin365/lightapp/view/ak;

    move-object v1, p0

    move v4, v3

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/lightapp/view/ag;-><init>(Landroid/content/Context;Landroid/view/View;IILcom/waiqin365/lightapp/view/ak;)V

    iput-object v0, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->q:Lcom/waiqin365/lightapp/view/ag;

    return-void
.end method

.method static synthetic d(Lcom/waiqin365/base/login/CusloginPersonInfoActy;)Landroid/widget/ImageView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->a:Landroid/widget/ImageView;

    return-object v0
.end method

.method private d()V
    .locals 6

    :try_start_0
    new-instance v0, Landroid/content/Intent;

    const-string/jumbo v1, "android.media.action.IMAGE_CAPTURE"

    invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    const/4 v1, 0x0

    sput-object v1, Lcom/fiberhome/gaea/client/c/b;->b:Landroid/net/Uri;

    new-instance v1, Landroid/content/ContentValues;

    invoke-direct {v1}, Landroid/content/ContentValues;-><init>()V

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    sput-wide v2, Lcom/fiberhome/gaea/client/c/b;->c:J

    const-string/jumbo v2, "datetaken"

    sget-wide v4, Lcom/fiberhome/gaea/client/c/b;->c:J

    invoke-static {v4, v5}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Long;)V

    invoke-virtual {p0}, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->getContentResolver()Landroid/content/ContentResolver;

    move-result-object v2

    sget-object v3, Landroid/provider/MediaStore$Images$Media;->EXTERNAL_CONTENT_URI:Landroid/net/Uri;

    invoke-virtual {v2, v3, v1}, Landroid/content/ContentResolver;->insert(Landroid/net/Uri;Landroid/content/ContentValues;)Landroid/net/Uri;

    move-result-object v1

    sput-object v1, Lcom/fiberhome/gaea/client/c/b;->b:Landroid/net/Uri;

    const-string/jumbo v1, "output"

    sget-object v2, Lcom/fiberhome/gaea/client/c/b;->b:Landroid/net/Uri;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Landroid/os/Parcelable;)Landroid/content/Intent;

    const/16 v1, 0x3e9

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->startActivityForResult(Landroid/content/Intent;I)V

    const v0, 0x7f040022

    const v1, 0x7f040021

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->overridePendingTransition(II)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    return-void

    :catch_0
    move-exception v0

    goto :goto_0
.end method

.method static synthetic e(Lcom/waiqin365/base/login/CusloginPersonInfoActy;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method private e()V
    .locals 5

    :try_start_0
    new-instance v0, Landroid/content/Intent;

    const-string/jumbo v1, "android.intent.action.GET_CONTENT"

    invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    const-string/jumbo v1, "android.intent.category.OPENABLE"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->addCategory(Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "image/*"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->setType(Ljava/lang/String;)Landroid/content/Intent;

    sget v1, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v2, 0x13

    if-lt v1, v2, :cond_0

    const/16 v1, 0x3eb

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->startActivityForResult(Landroid/content/Intent;I)V

    :goto_0
    const v0, 0x7f040022

    const v1, 0x7f040021

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->overridePendingTransition(II)V

    :goto_1
    return-void

    :cond_0
    const-string/jumbo v1, "output"

    new-instance v2, Ljava/io/File;

    invoke-static {}, Landroid/os/Environment;->getExternalStorageDirectory()Ljava/io/File;

    move-result-object v3

    const-string/jumbo v4, "icon_image_temp.jpg"

    invoke-direct {v2, v3, v4}, Ljava/io/File;-><init>(Ljava/io/File;Ljava/lang/String;)V

    invoke-static {v2}, Landroid/net/Uri;->fromFile(Ljava/io/File;)Landroid/net/Uri;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Landroid/os/Parcelable;)Landroid/content/Intent;

    const/16 v1, 0x3e8

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->startActivityForResult(Landroid/content/Intent;I)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception v0

    goto :goto_1
.end method

.method static synthetic f(Lcom/waiqin365/base/login/CusloginPersonInfoActy;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method private f()V
    .locals 3

    new-instance v0, Lcom/waiqin365/base/login/b/a/m;

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v1

    invoke-virtual {v1, p0}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->o:Ljava/lang/String;

    invoke-direct {v0, v1, v2}, Lcom/waiqin365/base/login/b/a/m;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    new-instance v1, Lcom/waiqin365/base/login/b/c;

    iget-object v2, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->r:Landroid/os/Handler;

    invoke-direct {v1, v2, v0}, Lcom/waiqin365/base/login/b/c;-><init>(Landroid/os/Handler;Lcom/waiqin365/base/login/b/d;)V

    invoke-virtual {v1}, Lcom/waiqin365/base/login/b/c;->start()V

    return-void
.end method

.method static synthetic g(Lcom/waiqin365/base/login/CusloginPersonInfoActy;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method private g()V
    .locals 6

    invoke-virtual {p0}, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->getContentResolver()Landroid/content/ContentResolver;

    move-result-object v0

    :try_start_0
    sget-object v1, Lcom/fiberhome/gaea/client/c/b;->b:Landroid/net/Uri;

    const/4 v2, 0x0

    const/4 v3, 0x0

    const/4 v4, 0x0

    const/4 v5, 0x0

    invoke-virtual/range {v0 .. v5}, Landroid/content/ContentResolver;->query(Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-interface {v0}, Landroid/database/Cursor;->moveToFirst()Z

    const/4 v1, 0x1

    invoke-interface {v0, v1}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-interface {v0}, Landroid/database/Cursor;->close()V

    new-instance v0, Ljava/io/File;

    invoke-direct {v0, v1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/io/File;->exists()Z

    move-result v1

    if-eqz v1, :cond_0

    invoke-static {v0}, Landroid/net/Uri;->fromFile(Ljava/io/File;)Landroid/net/Uri;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->a(Landroid/net/Uri;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :cond_0
    :goto_0
    return-void

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_0
.end method


# virtual methods
.method public a()V
    .locals 2

    const/16 v1, 0x8

    const v0, 0x7f0c047a

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/login/mainview/TitleBar;

    iput-object v0, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->n:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->n:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->h:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->n:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->i:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->n:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->g:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->n:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->a:Landroid/widget/ImageButton;

    invoke-virtual {v0, p0}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->n:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->e:Landroid/widget/TextView;

    const v1, 0x7f08062c

    invoke-virtual {p0, v1}, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v0, 0x7f0c047c

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->a:Landroid/widget/ImageView;

    const v0, 0x7f0c047b

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->b:Landroid/widget/RelativeLayout;

    const v0, 0x7f0c0480

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->c:Landroid/widget/TextView;

    const v0, 0x7f0c0486

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->d:Landroid/widget/TextView;

    const v0, 0x7f0c0489

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->e:Landroid/widget/TextView;

    const v0, 0x7f0c0483

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->k:Landroid/widget/TextView;

    const v0, 0x7f0c048c

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->f:Landroid/widget/TextView;

    const v0, 0x7f0c048e

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->g:Landroid/widget/TextView;

    const v0, 0x7f0c0491

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->h:Landroid/widget/TextView;

    const v0, 0x7f0c0494

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->i:Landroid/widget/TextView;

    const v0, 0x7f0c0497

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->j:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->a:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->b:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, p0}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->a:Landroid/widget/ImageView;

    const/4 v1, 0x0

    invoke-direct {p0, v0, v1}, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->a(Landroid/view/View;Ljava/lang/String;)V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/waiqin365/base/login/mainview/a;->o(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_0

    iget-object v1, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->c:Landroid/widget/TextView;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_0
    const-string/jumbo v0, "cuslogin_mydata_data_company_code"

    const-string/jumbo v1, ""

    invoke-static {p0, v0, v1}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_1

    iget-object v1, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->d:Landroid/widget/TextView;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_1
    const-string/jumbo v0, "cuslogin_mydata_data_department"

    const-string/jumbo v1, ""

    invoke-static {p0, v0, v1}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_2

    iget-object v1, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->f:Landroid/widget/TextView;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_2
    const-string/jumbo v0, "REGISTER_REQUEST_USER"

    const-string/jumbo v1, ""

    invoke-static {p0, v0, v1}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_3

    iget-object v1, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->e:Landroid/widget/TextView;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_3
    const-string/jumbo v0, "cuslogin_mydata_data_mobile"

    const-string/jumbo v1, ""

    invoke-static {p0, v0, v1}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_4

    iget-object v1, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->i:Landroid/widget/TextView;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v1, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->k:Landroid/widget/TextView;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_4
    return-void
.end method

.method public a(Landroid/net/Uri;)V
    .locals 5

    const/4 v4, 0x1

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v1, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->p:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    invoke-virtual {v0, v2, v3}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, ".jpg"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->o:Ljava/lang/String;

    new-instance v0, Ljava/io/File;

    iget-object v1, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->o:Ljava/lang/String;

    invoke-direct {v0, v1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/io/File;->delete()Z

    :try_start_0
    invoke-virtual {v0}, Ljava/io/File;->createNewFile()Z
    :try_end_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    new-instance v1, Landroid/content/Intent;

    const-string/jumbo v2, "com.android.camera.action.CROP"

    invoke-direct {v1, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    const-string/jumbo v2, "image/*"

    invoke-virtual {v1, p1, v2}, Landroid/content/Intent;->setDataAndType(Landroid/net/Uri;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v2, "crop"

    const-string/jumbo v3, "true"

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v2, "aspectX"

    invoke-virtual {v1, v2, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    const-string/jumbo v2, "aspectY"

    invoke-virtual {v1, v2, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    const-string/jumbo v2, "outputX"

    invoke-static {}, Lcom/fiberhome/gaea/client/c/b;->b()Lcom/fiberhome/gaea/client/c/b;

    move-result-object v3

    invoke-virtual {v3}, Lcom/fiberhome/gaea/client/c/b;->i()I

    move-result v3

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    const-string/jumbo v2, "outputY"

    invoke-static {}, Lcom/fiberhome/gaea/client/c/b;->b()Lcom/fiberhome/gaea/client/c/b;

    move-result-object v3

    invoke-virtual {v3}, Lcom/fiberhome/gaea/client/c/b;->i()I

    move-result v3

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    const-string/jumbo v2, "output"

    invoke-static {v0}, Landroid/net/Uri;->fromFile(Ljava/io/File;)Landroid/net/Uri;

    move-result-object v0

    invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Landroid/os/Parcelable;)Landroid/content/Intent;

    const-string/jumbo v0, "return-data"

    const/4 v2, 0x0

    invoke-virtual {v1, v0, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const-string/jumbo v0, "outputFormat"

    sget-object v2, Landroid/graphics/Bitmap$CompressFormat;->JPEG:Landroid/graphics/Bitmap$CompressFormat;

    invoke-virtual {v2}, Landroid/graphics/Bitmap$CompressFormat;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v0, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v0, "noFaceDetection"

    invoke-virtual {v1, v0, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const/16 v0, 0x3ea

    invoke-virtual {p0, v1, v0}, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->startActivityForResult(Landroid/content/Intent;I)V

    const v0, 0x7f040022

    const v1, 0x7f040021

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->overridePendingTransition(II)V

    return-void

    :catch_0
    move-exception v1

    invoke-virtual {v1}, Ljava/io/IOException;->printStackTrace()V

    goto :goto_0
.end method

.method public b()V
    .locals 3

    iget-boolean v0, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->m:Z

    if-eqz v0, :cond_0

    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    const-string/jumbo v1, "imagePath"

    iget-object v2, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->o:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const/4 v1, -0x1

    invoke-virtual {p0, v1, v0}, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->setResult(ILandroid/content/Intent;)V

    :cond_0
    invoke-virtual {p0}, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->back()V

    return-void
.end method

.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 3

    const/4 v0, -0x1

    invoke-super {p0, p1, p2, p3}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onActivityResult(IILandroid/content/Intent;)V

    packed-switch p1, :pswitch_data_0

    :cond_0
    :goto_0
    return-void

    :pswitch_0
    if-eqz p3, :cond_0

    invoke-virtual {p3}, Landroid/content/Intent;->getData()Landroid/net/Uri;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-virtual {p3}, Landroid/content/Intent;->getData()Landroid/net/Uri;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->a(Landroid/net/Uri;)V

    goto :goto_0

    :pswitch_1
    if-ne p2, v0, :cond_0

    invoke-direct {p0}, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->g()V

    goto :goto_0

    :pswitch_2
    if-eqz p3, :cond_0

    if-ne v0, p2, :cond_0

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->l:Z

    iget-object v0, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->r:Landroid/os/Handler;

    const/16 v1, 0x7d2

    invoke-virtual {v0, v1}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    goto :goto_0

    :pswitch_3
    if-ne p2, v0, :cond_0

    if-eqz p3, :cond_0

    new-instance v0, Ljava/io/File;

    invoke-virtual {p0}, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->getApplicationContext()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {p3}, Landroid/content/Intent;->getData()Landroid/net/Uri;

    move-result-object v2

    invoke-static {v1, v2}, Lcom/waiqin365/base/login/d/g;->a(Landroid/content/Context;Landroid/net/Uri;)Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-static {v0}, Landroid/net/Uri;->fromFile(Ljava/io/File;)Landroid/net/Uri;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->a(Landroid/net/Uri;)V

    goto :goto_0

    :pswitch_data_0
    .packed-switch 0x3e8
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
    .end packed-switch
.end method

.method public onClick(Landroid/view/View;)V
    .locals 4

    const/4 v3, 0x0

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :goto_0
    return-void

    :sswitch_0
    invoke-virtual {p0}, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->b()V

    goto :goto_0

    :sswitch_1
    iget-object v0, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->q:Lcom/waiqin365/lightapp/view/ag;

    invoke-virtual {p0}, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->getWindow()Landroid/view/Window;

    move-result-object v1

    invoke-virtual {v1}, Landroid/view/Window;->getDecorView()Landroid/view/View;

    move-result-object v1

    const/16 v2, 0x11

    invoke-virtual {v0, v1, v2, v3, v3}, Lcom/waiqin365/lightapp/view/ag;->a(Landroid/view/View;III)V

    goto :goto_0

    :sswitch_2
    invoke-direct {p0}, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->d()V

    iget-object v0, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->q:Lcom/waiqin365/lightapp/view/ag;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/ag;->a()V

    goto :goto_0

    :sswitch_3
    invoke-direct {p0}, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->e()V

    iget-object v0, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->q:Lcom/waiqin365/lightapp/view/ag;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/ag;->a()V

    goto :goto_0

    :sswitch_4
    iget-object v0, p0, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->q:Lcom/waiqin365/lightapp/view/ag;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/ag;->a()V

    goto :goto_0

    nop

    :sswitch_data_0
    .sparse-switch
        0x7f0c0089 -> :sswitch_0
        0x7f0c008a -> :sswitch_0
        0x7f0c0350 -> :sswitch_4
        0x7f0c047b -> :sswitch_1
        0x7f0c047c -> :sswitch_1
        0x7f0c09a6 -> :sswitch_2
        0x7f0c09a7 -> :sswitch_3
    .end sparse-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 1

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    invoke-static {p0}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/app/Activity;)V

    const v0, 0x7f0300b7

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->setContentView(I)V

    invoke-virtual {p0}, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->a()V

    invoke-direct {p0}, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->c()V

    return-void
.end method

.method public onKeyDown(ILandroid/view/KeyEvent;)Z
    .locals 1

    packed-switch p1, :pswitch_data_0

    :goto_0
    const/4 v0, 0x0

    return v0

    :pswitch_0
    invoke-virtual {p0}, Lcom/waiqin365/base/login/CusloginPersonInfoActy;->b()V

    goto :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0x4
        :pswitch_0
    .end packed-switch
.end method
